Allow specifying local ELPA mirrors in package-archives.
authorChong Yidong <cyd@stupidchicken.com>
Sun, 6 Mar 2011 03:22:06 +0000 (22:22 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 6 Mar 2011 03:22:06 +0000 (22:22 -0500)
commitf33cca8127a32ecf95541cb9f5a7bbdc0ef217f4
treef06c245d4ba697b71c5d20c66d71d7a233430934
parentedf22e9bdbba09f6481440562c73a984f26fedda
Allow specifying local ELPA mirrors in package-archives.

* emacs-lisp/package.el (package-archives): Accept either ordinary
directory names, in addition to HTTP URLs.
(package--with-work-buffer): New macro.   Handle normal directories.
(package-handle-response): Don't display the failing buffer.
(package-download-single, package-download-tar)
(package--download-one-archive): Use package--with-work-buffer.
(package-archive-base): Rename from package-archive-url.
lisp/ChangeLog
lisp/emacs-lisp/package.el